@echo off
cls
echo YourEnv PowerShell pre-requisites
echo ---------------------------------
echo.

echo Install: .NET Framework 3.5
DISM.exe /online /enable-feature /featurename=NetFx3

echo.
echo Install: PowerShell
DISM.exe /online /enable-feature /featurename=ActiveDirectory-PowerShell

echo.
echo WARNING: Setting PowerShell execution policy to BYPASS
"%SYSTEMROOT%\system32\windowspowershell\v1.0\powershell.exe" Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Force
"%SYSTEMROOT%\system32\windowspowershell\v1.0\powershell.exe" SetupRemoting.ps1


